<%-- 
    Document   : perguntas
    Created on : 19/05/2013, 14:03:02
    Author     : Diego
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
         <link rel="stylesheet" href="CSS/cssDefault.css" type="text/css" >
         <style>
             body{
                 background-image: url('${caminhoDaImagem}');
                background-attachment: fixed;
             }
         </style>
        <title>JSP Page</title>
    </head>
    <body>
        <div>
        <h1>Vamos ao Quizz!</h1>
        <fieldset>
            <legend><c:out value="${tema}"/></legend>
            <p>Pergunta <c:out value="${numero}"/>: <c:out value="${p.getTexto()}"/></p>
            <form action="ProcessadorDePerguntas" method="get">
                <input type="hidden" value="${numero}" name="numero"/>
               <label for="op">A.${p.getLetraA()}<input type="radio" name="op" value="A"/></label><br>
               <label for="op">B.${p.getLetraB()}<input type="radio" name="op" value="B"/></label><br>
               <label for="op">C.${p.getLetraC()}<input type="radio" name="op" value="C"/></label><br>
               <label for="op">D.${p.getLetraD()}<input type="radio" name="op" value="D"/></label><br>
               <label for="op">E.${p.getLetraE()}<input type="radio" name="op" value="E" /></label><br>
                
                <input type="submit" value="proximo"/>
            </form>
            
        </fieldset>
        </div>
               <span><a href="invalidacao">Voltar para a pagina inicial</a></span>
    </body>
</html>
